package com.krtech.wecard.module.farmhouse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Date;
import lombok.Data;

/**
 * 在建农房
 */
@ApiModel(value = "com-krtech-wecard-module-farmhouse-entity-FarmHouseBuilding")
@Data
@TableName(value = "farm_house_building")
public class FarmHouseBuilding {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "id")
    private Integer id;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 工匠外键
     */
    @TableField(value = "fk_artisan_id")
    @ApiModelProperty(value = "工匠外键")
    private Byte fkArtisanId;

    /**
     * 建房人
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "建房人")
    private Byte name;

    /**
     * 建房人身份证号
     */
    @TableField(value = "id_card")
    @ApiModelProperty(value = "建房人身份证号")
    private Byte idCard;

    /**
     * 建房人电话号码
     */
    @TableField(value = "phone")
    @ApiModelProperty(value = "建房人电话号码")
    private Byte phone;

    /**
     * 预计开工时间
     */
    @TableField(value = "start_time")
    @ApiModelProperty(value = "预计开工时间")
    private Byte startTime;

    public static final String COL_ID = "id";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_FK_ARTISAN_ID = "fk_artisan_id";

    public static final String COL_NAME = "name";

    public static final String COL_ID_CARD = "id_card";

    public static final String COL_PHONE = "phone";

    public static final String COL_START_TIME = "start_time";
}